<template>
    父组件 -----{{Message}}
    <hr>
    <SlotSubComponent>
        <p>{{ Message }}</p>
    </SlotSubComponent>
</template>
<script setup>
import SlotSubComponent from './SlotSubComponent.vue';
import { ref } from 'vue';
const Message = ref('Hello Vue 3.0');
</script>